package com.lh.pospi.x_store.modle;

import org.greenrobot.greendao.annotation.Entity;

import java.util.List;


public class TestBean {

    /**
     * code : 1
     * message : success
     * notice : {"newsCount":25}
     * result : {"items":[{"detail":"","href":"https://www.oschina.net/question/2896879_2288233","id":2288233,"img":"https://static.oschina.net/uploads/cooperation/75323/ubuntu-forum-black-sql_d19e94b6-1fb9-44f6-8f35-17767168dd65.jpg","name":"\u201c2018年度最受欢迎中国开源软件评选\u201d","pubDate":"2018-10-24 15:26:08","type":2,"weight":5},{"detail":"","href":"https://www.oschina.net/news/101074/oschina-android-app-4-3-1-released","id":101074,"img":"https://static.oschina.net/uploads/cooperation/78083/chrome55-save-at-least-35-percent-memory_25762988-2a94-4e2c-9340-80e9f4066604.jpg","name":"APP 版本更新丨动弹也能看代码啦！","pubDate":"2018-10-23 12:08:22","type":6,"weight":4},{"detail":"","href":"https://www.oschina.net/news/101160/linus-talk-about-coming-back?p=2","id":101160,"img":"https://static.oschina.net/uploads/cooperation/event/guangzhou/event/2201438_a316a7de-0602-4e09-b5ef-4e299231f997.jpg","name":"Linus Torvalds：不在的那些天我做了个邮件过滤器","pubDate":"2018-10-25 10:44:04","type":6,"weight":3},{"detail":"","href":"https://www.oschina.net/2018-shenzhen-ceremony?origin=app&from=app","id":100945,"img":"https://static.oschina.net/uploads/cooperation/78455/intellij-idea-2016-3-public-preview_8e96b43c-f02b-4a9b-967c-c0606f7b0494.png","name":"2018 源创会年终盛典：与十俱进，码出未来","pubDate":"2018-10-25 10:52:40","type":0,"weight":2},{"detail":"","href":"https://www.oschina.net/news/101154/openbsd-silver-contributor#comments","id":101154,"img":"https://static.oschina.net/uploads/cooperation/77929/top-income-programming-languages-2016_07d3c4bc-1138-4788-af5e-9ab46426897d.jpg","name":"John Carmack成为OpenBSD首位个人银级捐赠者","pubDate":"2018-10-25 11:57:15","type":6,"weight":1}],"nextPageToken":"61AF0C190D6BD629","prevPageToken":"3EA621243546C8A5","requestCount":5,"responseCount":5,"totalResults":5}
     * time : 2018-10-26 17:10:43
     */

    private int code;
    private String message;
    private NoticeBean notice;
    private ResultBean result;
    private String time;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public NoticeBean getNotice() {
        return notice;
    }

    public void setNotice(NoticeBean notice) {
        this.notice = notice;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
    public static class NoticeBean {
        /**
         * newsCount : 25
         */

        private int newsCount;

        public int getNewsCount() {
            return newsCount;
        }

        public void setNewsCount(int newsCount) {
            this.newsCount = newsCount;
        }
    }

    public static class ResultBean {
        /**
         * items : [{"detail":"","href":"https://www.oschina.net/question/2896879_2288233","id":2288233,"img":"https://static.oschina.net/uploads/cooperation/75323/ubuntu-forum-black-sql_d19e94b6-1fb9-44f6-8f35-17767168dd65.jpg","name":"\u201c2018年度最受欢迎中国开源软件评选\u201d","pubDate":"2018-10-24 15:26:08","type":2,"weight":5},{"detail":"","href":"https://www.oschina.net/news/101074/oschina-android-app-4-3-1-released","id":101074,"img":"https://static.oschina.net/uploads/cooperation/78083/chrome55-save-at-least-35-percent-memory_25762988-2a94-4e2c-9340-80e9f4066604.jpg","name":"APP 版本更新丨动弹也能看代码啦！","pubDate":"2018-10-23 12:08:22","type":6,"weight":4},{"detail":"","href":"https://www.oschina.net/news/101160/linus-talk-about-coming-back?p=2","id":101160,"img":"https://static.oschina.net/uploads/cooperation/event/guangzhou/event/2201438_a316a7de-0602-4e09-b5ef-4e299231f997.jpg","name":"Linus Torvalds：不在的那些天我做了个邮件过滤器","pubDate":"2018-10-25 10:44:04","type":6,"weight":3},{"detail":"","href":"https://www.oschina.net/2018-shenzhen-ceremony?origin=app&from=app","id":100945,"img":"https://static.oschina.net/uploads/cooperation/78455/intellij-idea-2016-3-public-preview_8e96b43c-f02b-4a9b-967c-c0606f7b0494.png","name":"2018 源创会年终盛典：与十俱进，码出未来","pubDate":"2018-10-25 10:52:40","type":0,"weight":2},{"detail":"","href":"https://www.oschina.net/news/101154/openbsd-silver-contributor#comments","id":101154,"img":"https://static.oschina.net/uploads/cooperation/77929/top-income-programming-languages-2016_07d3c4bc-1138-4788-af5e-9ab46426897d.jpg","name":"John Carmack成为OpenBSD首位个人银级捐赠者","pubDate":"2018-10-25 11:57:15","type":6,"weight":1}]
         * nextPageToken : 61AF0C190D6BD629
         * prevPageToken : 3EA621243546C8A5
         * requestCount : 5
         * responseCount : 5
         * totalResults : 5
         */

        private String nextPageToken;
        private String prevPageToken;
        private int requestCount;
        private int responseCount;
        private int totalResults;
        private List<BnnerBean> items;

        public String getNextPageToken() {
            return nextPageToken;
        }

        public void setNextPageToken(String nextPageToken) {
            this.nextPageToken = nextPageToken;
        }

        public String getPrevPageToken() {
            return prevPageToken;
        }

        public void setPrevPageToken(String prevPageToken) {
            this.prevPageToken = prevPageToken;
        }

        public int getRequestCount() {
            return requestCount;
        }

        public void setRequestCount(int requestCount) {
            this.requestCount = requestCount;
        }

        public int getResponseCount() {
            return responseCount;
        }

        public void setResponseCount(int responseCount) {
            this.responseCount = responseCount;
        }

        public int getTotalResults() {
            return totalResults;
        }

        public void setTotalResults(int totalResults) {
            this.totalResults = totalResults;
        }

        public List<BnnerBean> getItems() {
            return items;
        }

        public void setItems(List<BnnerBean> items) {
            this.items = items;
        }

    }
}
